package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.dto.UnitDTO;
import com.kelaite.procurement.entity.TUnit;

public interface UnitService {
	public UnitDTO save(TUnit persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(UnitDTO persistence);

	public UnitDTO getObject(Long id);
	
	public List<UnitDTO> getAll();

	public List<UnitDTO> getByProperty(String property, Object value);
	
}
